package com.smile.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ToString
@TableName("feisuan_inspection_task")
public class FeisuanInspectionTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @TableField("plan_name")
    private String planName;

    @TableField("airport_id")
    private Long airportId;

    @TableField("status")
    private Integer status;

    @TableField("airline_id")
    private Integer airlineId;

    @TableField("start_time")
    private LocalDateTime startTime;

    @TableField("organization_id")
    private Long organizationId;

    @TableField(value = "time")
    private LocalDateTime time;

    @TableField(value = "day")
    private Integer day;

    @TableField(value = "months")
    private Integer months;

    @TableField(value = "week")
    private Integer week;

    @TableField(value = "days")
    private Integer days;

    @TableField(value = "weeks")
    private Integer weeks;

    @TableField(value = "job_type")
    private Integer jobType;

    @TableField(value = "execute_type")
    private Integer executeType;



    /**
     * 任务id
     */
    @TableField(value = "flight_id")
    private String flightId;



    /**
     * 当前任务航点数量
     */
    @TableField(value = "waypoint")
    private Integer waypoint;

    /**
     * 已执行航点
     */
    @TableField(value = "current_waypoint_index")
    private Integer currentWaypointIndex;
}
